package com.duanjw.springcloud.seata.consumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author duanjw
 */
@FeignClient(value = "ciic-iba-wkf-service", url = "localhost:7014")
public interface UserService {
    /**
     * 根据id删除用户
     *
     * @param id
     * @return
     */
    @DeleteMapping("user/{id}")
    Boolean deleteById(@PathVariable(value = "id") Integer id);
}
